package org.example.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClanDetail {
    public ClanDetail(Date currentTime,int clanId,int userId,String name,int role){
        this.clanId = clanId;
        this.userId = userId;
        createTime = currentTime;
        updateTime = currentTime;
        exits=1;
        this.name = name;
        this.role = role;
    }
    int clanId;
    int userId;
    Date createTime;
    Date updateTime;
    int exits;
    String name;
    /** 0学生 1家长**/
    public int role;
    @TableId
    public int id;
}
